home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / examples / README < prev   
Encoding:
Text File  |  1996-11-11  |  3.8 KB  |  112 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees, 
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8. OpenGL Programming 2 Course Example Programs
  9.  
  10. This software will only compile/run on a >= 5.3 Irix system
  11. with gl_dev and x_dev products loaded.  However, some of the 
  12. examples use extensions that are only available on systems
  13. running IRIX 6.2 or later.  Such examples have been properly
  14. #ifdef'ed so that they will compile, but they will not always
  15. do something intelligent.
  16.  
  17. This subtree contains the example programs included in the OpenGL
  18. Programming 2 Student Manual available through SGI's 
  19. customer education program.  
  20.  
  21. * accum: 
  22.     programs using the accumulation buffer to
  23.     achieve scene anti-aliasing, depth-of-field,
  24.     and motion blurring effects.
  25.  
  26. * texture
  27.     programs demonstrating basic texture mapping. Include using
  28.     gluBuild2dMipmaps() to scale and load mipmaps for a single
  29.     texture image and then applying this to a polygon; reading in a
  30.     texture from an rgb file, setting the texture and the texture
  31.     environment, then applying the texture to a rectangular polygon
  32.     using explicit texture coordinates; and mipmaps.
  33.  
  34. * clipping:
  35.     demonstrates defining and using arbitrary clipping planes.
  36.  
  37.  
  38. * feedback
  39.     demonstrates use of OpenGL feedback, where one can toggle
  40.     in and out of feedback mode.
  41.  
  42. * fog
  43.     demonstrates using different types of fog including
  44.     exponential, exponential squared, and linear as well
  45.     as altering the density value.
  46.  
  47. * nurbs
  48.     demonstrates using nurbs curves and surfaces.  It
  49.     includes an example of using nurbs in display lists,
  50.     setting the various nurbs properties, and trimming
  51.     nurbs surfaces.
  52.  
  53. * raster
  54.     programs demonstrating the use of raster positioning and pixel 
  55.     operations, including creating a collage of images,
  56.     use of the glCopyPixels() and glPixelZoom() routines, 
  57.     plus displaying an rgb image and file (and a subimage) 
  58.     in a window and writing pixel data from the window to an 
  59.     image file.
  60.  
  61. * selection
  62.     two programs: 1 demonstrates picking, and the other, selection.  
  63.  
  64. * stencils
  65.     demonstrates a simple application of the stencil planes 
  66.     to mask an arbitrary screen area.
  67.  
  68. * texture
  69.     programs demonstrating more advanced texture mapping features,
  70.     including reading a texture from an rgb file, setting up the
  71.     texture and a sphere map texture environment and then applying
  72.     them;  as well as using automatically generated texture
  73.     coordinates; a demonstration of storing textures in display
  74.     lists where the objects are drawn using environment mapping;
  75.     and a number of texture extensions.
  76.  
  77. * image_extensions:
  78.     programs demonstrating a number of extensions that are useful
  79.     for image processing, including EXT_convolution, EXT_histogram,
  80.     EXT_subtexture.
  81.  
  82. * sgi_extensions:
  83.     programs demonstrating a number of extensions that are only
  84.     availabe on a subset of SGI platforms, including SGIS_multisample, 
  85.     and SGIS_sharpen_texture
  86.  
  87.  
  88. Two appendices are provided to help transition from IRIS GL to OpenGL.
  89.  
  90. irisgl_vs_opengl
  91.     Programs that demonstrate some of the differences between
  92.     IRIS GL and OpenGL.
  93.  
  94. porting
  95.     An appendix the walks through some examples of porting IRIS GL 
  96.     programs to OpenGL.  Includes information about writing mixed
  97.     model programs, with and without using a widget set.
  98.  
  99. The programs in the directories above can be invoked individually, or
  100. through the buttonfly command.  In each directory, there are two 
  101. menu files named 'menu_directoryname' and 'm_directoryname'.  They
  102. are installed in the directory as '.menu' and '.m_directoryname', respectively.
  103. .menu specifies a button for the directory and .m_directoryname contains
  104. the information about how to run each program.
  105.  
  106. To use the buttonfly program, run the RUN_DEMOS script
  107. in the opengl2 home directory.
  108.  
  109. % ~opengl2/RUN_DEMOS    
  110.  
  111.  
  112.